package JavaEnum;

public class Weekday {

    public static final int MONDAY = 1;
    public static final int TUESDAY = 2;
    public static final int WEDNESDAY = 3;
    public static final int THURSDAY = 4;
    public static final int FRIDAY = 5;
    public static final int SATURDAY = 6;
    public static final int SUNDAY = 7;

    public static void main(String[] args) {
        int day = 0;    // 假设day的值为0
        if (day == Weekday.MONDAY)
            System.out.println("今天是星期一");
    }
}
